package com.example.boot1.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.example.boot1.mapper.VueTableMapper;
import com.example.boot1.bean.VueTable;
import com.example.boot1.service.VueTableService;

import java.util.List;

@Service
public class VueTableServiceImpl implements VueTableService{

    @Autowired
    private VueTableMapper vueTableMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return vueTableMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(VueTable record) {
        return vueTableMapper.insert(record);
    }

    @Override
    public int insertSelective(VueTable record) {
        return vueTableMapper.insertSelective(record);
    }

    @Override
    public VueTable selectByPrimaryKey(Integer id) {
        return vueTableMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(VueTable record) {
        return vueTableMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(VueTable record) {
        return vueTableMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<VueTable> getTable() {
        return vueTableMapper.getTable();
    }

}
